package com.xc.erp.modules.erp.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName jsh_user_role
 */
@TableName(value ="jsh_user_role")
@Data
@NoArgsConstructor
public class JshUserRole implements Serializable {
    /**
     * 角色编号
     */
    private Long jshRoleId;

    /**
     * 用户编号
     */
    private Long jshUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public JshUserRole(Long jshRoleId, Long jshUserId) {
        this.jshRoleId = jshRoleId;
        this.jshUserId = jshUserId;
    }
}
